home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
001-010
/
amok08
/
blitter
/
blitter.readme
< prev
next >
Wrap
Text File
|
1993-11-04
|
1KB
|
36 lines
Blitter-Demonstration
===========================
1988 by Fridtjof Siebert.
Nobileweg 67
7000 Stuttgart-40
This shows how to program blitter directly within Modula-II. This draws
some lines and shows how long it needed for that.
There is no sense in programming blitter directly (I had to learn that)
because it is hardly faster than graphics.library.
`MoveDraw' is the same as `Blitter' apart from that it uses
graphics.library instead of direct blitter programming. It is as fast as
`Blitter'.
You could program blitter in Assembler to be quicker, but I believe you
won't be more than 5% faster than graphics. The small advantage in speed
doesn't compensate the disadvantages:
No other task can use blitter while you are doing that: They can't work
with Disks, can't open Windows & Requesters and can't even print text.
But the worst thing is: Your own task can't draw with graphics.library
without calling DisownBlitter(). This is important if you create a runtime-
error that wants to open a requester but can't because you have owned
blitter. So your Amiga will die.
Moral: It's better to use graphics.library !!!
--- Fridtjof.